package com.example.aircraftwar.application;

import com.example.aircraftwar.basic.AbstractFlyingObject;

public class Explode extends AbstractFlyingObject{
    //爆炸位置
    private int locationX;
    private int locationY;

    //爆炸次数
    private int explodeCount = 0;

    public Explode(int locationX, int locationY) {
        this.locationX = locationX;
        this.locationY = locationY;
    }

    public int getExplodeCount() {
        return explodeCount;
    }

    public void setExplodeCount(int explodeCount) {
        this.explodeCount = explodeCount;
    }

    @Override
    public int getLocationX() {
        return locationX;
    }

    @Override
    public int getLocationY() {
        return locationY;
    }
}
